<?php

$html = '<div id="content-side-a">
           <h3>Manage Website</h3>
           <div class="control-center">';

for ($i = 0, $imax = count($data['website']); $i < $imax; $i++)
	$html .= '<a href="http://'.$data['website'][$i]['url'].'"><img src="Images/icons/48x48-'.$data['website'][$i]['name'].'.png" width="48" height="48" /><span>'.$data['website'][$i]['title'].'</span></a>'."\n";

$html .= '</div>';
	
$html .= '<h3>Warlock Framework</h3>
      <div class="control-center">   
        <a href="#"><img src="Images/icons/48x48-extensions.png" width="48" height="48" /><span>Extensions</span></a>
        <a href="#"><img src="Images/icons/48x48-modules.png" width="48" height="48" /><span>Modules</span></a>        
        <a href="#"><img src="Images/icons/48x48-plugins.png" width="48" height="48" /><span>Plugins</span></a>   
        <a href="#"><img src="Images/icons/48x48-settings.png" width="48" height="48" /><span>Global Settings</span></a>      
      </div>            
</div>';


$html .='<div id="content-side-b">
            <div id="accordion">
              <h3 class="accordion-click">
                New Messages
              </h3>
              <div class="accordion-content">
                <table class="recordset" cellpadding="0" cellspacing="0">
                  <tr>
                    <th scope="col" width="100">From</th>
                    <th scope="col">Title</th>                    
                  </tr>
                  <tr>
                    <td><a href="#">System</a></td>
                    <td><a href="#">Some test message</a></td>
                  </tr>                  
                  <tr>
                    <td><a href="#">System</a></td>
                    <td><a href="#">Welcome to Warlock!</a></td>
                  </tr>
                </table>
              </div>
              <h3 class="accordion-click">
                New Orders
              </h3>
              <div class="accordion-content">
                <table class="recordset" cellpadding="0" cellspacing="0">
                  <tr>
                    <th scope="col" width="100">User</th>
                    <th scope="col" width="80">Order</th>
                    <th scope="col">Basket Value</th>                    
                  </tr>
                  <tr>
                    <td><a href="#">Neophyte</a></td>
                    <td><a href="#">#92FAB1</a></td>
                    <td>1,200.59</td>
                  </tr>                  
                  <tr>
                    <td><a href="#">Neophyte</a></td>
                    <td><a href="#">#92FAB1</a></td>
                    <td>1,200.59</td>
                  </tr>
                  <tr>
                    <td><a href="#">Neophyte</a></td>
                    <td><a href="#">#92FAB1</a></td>
                    <td>1,200.59</td>
                  </tr>
                  <tr>
                    <td><a href="#">Neophyte</a></td>
                    <td><a href="#">#92FAB1</a></td>
                    <td>1,200.59</td>
                  </tr>                                    
                </table>
              </div>              
            </div>
          </div>';

return $html;

?>